/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Cloudauth.Model
{

    /// <summary>
    ///  agentSpec
    /// </summary>
    public class AgentSpec
    {

        ///<summary>
        /// 企业类型：
        /// 0: 企业(ET_PE_QiYe)
        /// 1: 个体工商户(ET_SE_GeTiGongShangHu)
        /// 2: 政府机构/事业单位(ET_OU_ZhengFu_ShiYeDanWei)
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public int CompanyType{ get; set; }
        ///<summary>
        /// 企业名称
        ///Required:true
        ///</summary>
        [Required]
        public string CompanyName{ get; set; }
        ///<summary>
        /// 统一社会信用代码或营业执照注册号
        ///Required:true
        ///</summary>
        [Required]
        public string IdCode{ get; set; }
        ///<summary>
        /// 代理人姓名
        ///Required:true
        ///</summary>
        [Required]
        public string AgentName{ get; set; }
        ///<summary>
        /// 代理人身份证号
        ///Required:true
        ///</summary>
        [Required]
        public string AgentId{ get; set; }
    }
}
